package org.yoki.edu.bg.radius.web.api.client.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 代码生成器自动生成
 * Date:2018-1-29 17:48:47
 *
 * @author
 */
@Data
@ApiModel(value = "Client更新操作参数")
public class ClientUpdateServerCommand implements Serializable {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", required = true)
    @NotNull(message = "主键id不能为空")
    private Integer id;
    /**
     * 服务端Id
     */
    @ApiModelProperty(value = "服务端Id", required = true)
    @NotNull(message = "服务端Id不能为空")
    private Integer serverId;

}